// 定义一个混入对象
export const drillingMixins = {
  data() {
    return {
      drillingMixinsDrillingSelectorList: [], // 当前下钻项
    };
  },
  watch: {
    selectorOptionUseInMixin: {
      handler: function (newVal) {
        this.drillingMixinsDrillingSelectorList = [];
        // 收集当前选中的下钻项
        for(let item of newVal) {
          if(item.value) {
            this.drillingMixinsDrillingSelectorList.push(item.prop)
          }
        }
      },
      deep: true
    }
  },
}